<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<div class="row">
	<div class="col-xs-12" style="font-size: 15pt;">
		<table class="table table-hover">
			<colgroup>
				<col width="50%">
				<col width="20%">
				<col width="30%">
			</colgroup>
			<thead>
				<tr>
					<th>제목</th>
					<th>글쓴이</th>
					<th>날짜</th>
				</tr>
			</thead>
			<tbody>
				<c:forEach var="result" items="${value}" varStatus="status">
					<tr>
						<td><c:if test="${result.step != 0}">&nbsp;┗RE:</c:if> <a href="/view?seq=${result.seq}"><c:out value="${result.title}" /></a></td>
						<td><c:out value="${result.writer}" /></td>
						<td><c:out value="${result.date}" /></td>
					</tr>
				</c:forEach>
			</tbody>
		</table>
		<div class="pull-right">
			<button type="button" class="btn btn-link" onclick="window.location='/writeform'">
				<span class="glyphicon glyphicon-pencil"></span> 글쓰기
			</button>
		</div>
	</div>
</div>
